<?php
/**
 * 指挥者 - 相当于服务员
 * Class Director
 */
class Director
{
    public function build (AbstractBuilder $builder) {
        $builder->createSetMeal();
        $builder->addBlackTea();
        $builder->addChickenRolls();
        $builder->addChickenWings();
        $builder->addCoffee();
        $builder->addCola();
        $builder->addEggTart();
        $builder->addFrenchFries();
        $builder->addHamburger();
        $builder->addTeaWithMilk();
        return $builder->getSetMeal();
    }
}
